<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">用户提现管理</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>
    <div class="form-group">
    <label class="sr-only" >用户登录名</label>
      <input type="text" class="form-control" placeholder="用户登录名" ng-model="searchMap.loginName">
    </div>
    <div class="form-group">
      <label class="sr-only" >提现状态</label>
      <select class="form-control" ng-model="searchMap.withdrawStatus" ng-options="m.value as m.text for m in dictMap.withdrawStatusModel" placeholder="提现状态">
        <option value="">全部</option>
      </select>
    </div> 
    <button type="submit" class="btn btn-primary">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="">账户名</th>
        <th width="">卡号</th>
        <th width="">银行</th>
        <th width="">提现金额</th>
        <th width="">提现状态</th>
        <th width="">提现时间</th>
        <th width="">用户登录名</th>
        <th width="">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="w in withdraws">
        <td>{{w.userName}}</td>
        <td>{{w.cardNumber}}</td>
        <td>{{w.bankType | bankTypeRender}}</td>
        <td>{{w.withdrawAmount | number:2}}</td>
        <td>{{w.withdrawStatus | withdrawStatusRender}}</td>
        <td>{{w.createDate | date : "yyyy-MM-dd HH:mm"}}</td>
        <td>{{w.loginName}}</td>
        <td><a href="#/im/withdraw/detail?id={{w.id}}">详情</a></td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="withdraws.length > 0"></div>
</div>
